<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'
import HelloWorld from './components/HelloWorld.vue'
</script>

<template>
 <div>
  <div>
<RouterLink to="/home">首页</RouterLink>
<RouterLink to="/about">关于页面</RouterLink>
<RouterLink to="/new">new</RouterLink>
<RouterLink to="/dom">dom</RouterLink>
    </div>
 </div>
  <RouterView />
</template>

<style scoped>
a{

margin-right: 10px;

}
</style>
